import request from '@/utils/request'

export default {
  // 获取业绩爬虫基本信息
  yejiDetail(id) {
    return request.service({
      url: `/crawler/web/yejiDetail`,
      method: 'get',
      params: {
        id
      }
    })
  },

  // 获取业绩爬虫列名list
  yejiList(tableName) {
    return request.service({
      url: `/crawler/web/yejiList`,
      method: 'get',
      params: {
        tableName
      }
    })
  },

  // 获取业绩爬虫数据list
  yejiDataList(formData) {
    return request.service({
      url: `/crawler/web/yejiDataList`,
      method: 'post',
      data: formData
    })
  }
}
